package org.jiusan.project.entity;

import java.util.Date;
import java.util.List;

public class InterfaceInfo {
	/**主键**/
	private Long id;
	/**功能描述**/
	private String description;
	/**接口地址**/
	private String url;
	/**请求方式**/
	private RequestMethod method;
	/**输入参数**/
	private List<InputArg> inputArgs;
	/**返回值示例**/
	private String backDemo;
	/**输出参数**/
	private List<OutputArg> outputArgs;
	/**创建时间**/
	private Date createTime;
	/**更新时间**/
	private Date updateTime;
	/**创建者**/
	private long createId;
	/**更新者**/
	private long updateId;
	/**版本号**/
	private String version;
	/**是否启用**/
	private boolean used;
	/**是否删除**/
	private boolean delete;
	/**与其他接口的联系 用于显示版本更新**/
	private long relation;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public RequestMethod getMethod() {
		return method;
	}
	public void setMethod(RequestMethod method) {
		this.method = method;
	}
	public List<InputArg> getInputArgs() {
		return inputArgs;
	}
	public void setInputArgs(List<InputArg> inputArgs) {
		this.inputArgs = inputArgs;
	}
	public String getBackDemo() {
		return backDemo;
	}
	public void setBackDemo(String backDemo) {
		this.backDemo = backDemo;
	}
	public List<OutputArg> getOutputArgs() {
		return outputArgs;
	}
	public void setOutputArgs(List<OutputArg> outputArgs) {
		this.outputArgs = outputArgs;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public long getCreateId() {
		return createId;
	}
	public void setCreateId(long createId) {
		this.createId = createId;
	}
	public long getUpdateId() {
		return updateId;
	}
	public void setUpdateId(long updateId) {
		this.updateId = updateId;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public boolean isUsed() {
		return used;
	}
	public void setUsed(boolean used) {
		this.used = used;
	}
	public boolean isDelete() {
		return delete;
	}
	public void setDelete(boolean delete) {
		this.delete = delete;
	}
	public long getRelation() {
		return relation;
	}
	public void setRelation(long relation) {
		this.relation = relation;
	}
}
